package com.dodi.spring.conversionService;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.convert.support.DefaultConversionService;
import org.w3c.dom.Element;

public class Main {

	public static void main(String[] args) {

		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("conversionService/applicationContext.xml");
		
		Person person = (Person) context.getBean("person");
		
		System.out.println(person.interests);
		
		System.out.println(person.birth);
	}

}
